package it.traveldream.beans;

import it.traveldream.dto.HotelDTO;
import it.traveldream.dto.LocationDTO;
import it.traveldream.exceptions.LocationNotFoundException;

import java.util.List;

public interface HotelManagerInterface extends ProductManagerInterface<HotelDTO> {

	/**
	 * Returns a list containing products of type Hotel, located in the 
	 * specific location passed as argument.
	 * @param location The location to be searched for.
	 * @return List of hotel items. 
	 * @throws LocationNotFoundException
	 */
	public List<HotelDTO> getHotelsByLocation(LocationDTO location) throws LocationNotFoundException;
}
